//
//  MTRedpacketInfo.swift
//  MT
//
//  Created by ooops on 2020/5/20.
//  Copyright © 2020 张强. All rights reserved.
//

import Foundation

enum MTGiftInfoStatus: Int {
    /// 未拆状态
    case normal = 0
    /// 已接受状态
    case opend = 1
    /// 已失效状态
    case invalid = 2
}

class MTGiftInfo: NSObject {
    var msgId: String = ""
    
    var status: MTGiftInfoStatus = .normal
    
    
    
    static func create(msgId: String = "", status: MTGiftInfoStatus = .normal) -> MTGiftInfo {
        let info = MTGiftInfo()
        info.msgId = msgId
        info.status = status
        return info
    }
}
